package com.winit.employeInfo.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "dept")
public class Dept  implements Serializable {
    @Id
    private String deptcode; // '组织单元编码'
    private String deptname; //'组织单元简称',
    private String structurecode; //'结构类别编码',
    private String structurename; //'结构类别名称',
    private Date replacetime; //'定界时间',
    private String deptfullname; //'组织单元全称',
    private String isdisable; //'是否失效',
    private String rownumber; //comment '排序字段',
    private String supername; //'上级组织单元',
    private Date begindate; // '开始日期',
    private Date enddate; //'结束日期'

    public String getDeptcode() {
        return deptcode;
    }

    public void setDeptcode(String deptcode) {
        this.deptcode = deptcode;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public String getStructurecode() {
        return structurecode;
    }

    public void setStructurecode(String structurecode) {
        this.structurecode = structurecode;
    }

    public String getStructurename() {
        return structurename;
    }

    public void setStructurename(String structurename) {
        this.structurename = structurename;
    }

    public Date getReplacetime() {
        return replacetime;
    }

    public void setReplacetime(Date replacetime) {
        this.replacetime = replacetime;
    }

    public String getDeptfullname() {
        return deptfullname;
    }

    public void setDeptfullname(String deptfullname) {
        this.deptfullname = deptfullname;
    }

    public String getIsdisable() {
        return isdisable;
    }

    public void setIsdisable(String isdisable) {
        this.isdisable = isdisable;
    }

    public String getRownumber() {
        return rownumber;
    }

    public void setRownumber(String rownumber) {
        this.rownumber = rownumber;
    }

    public String getSupername() {
        return supername;
    }

    public void setSupername(String supername) {
        this.supername = supername;
    }

    public Date getBegindate() {
        return begindate;
    }

    public void setBegindate(Date begindate) {
        this.begindate = begindate;
    }

    public Date getEnddate() {
        return enddate;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }
}
